-- GENERATED SPELL FOR [Smith Regzar] --


function spell0_13176(pUnit, Event) --@Polished Armor,n/a--
pUnit:FullCastSpellOnTarget(21163,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13176', 527, 1)
end

function Sorts_13176(pUnit, Event)
local choix_sorts_13176 = math.random(0, 0)
if choix_sorts_13176 == 0 then
pUnit:RegisterEvent('spell0_13176', 1, 1)
end
end

function mob13176_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13176', math.random(1500, 3000), 1)
end

function mob13176_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13176_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13176_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13176, 1, 'mob13176_Action')
RegisterUnitEvent(13176, 2, 'mob13176_Leave')
RegisterUnitEvent(13176, 3, 'mob13176_Kill')
RegisterUnitEvent(13176, 4, 'mob13176_Die')
